<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>zscat桌面版</title>
    <meta name="description" content="zscat专注于前端设计，前端开发，欢迎访问" />
    <meta name="keywords" content="前端开发，前端设计，前端博客，web前端" />
    <link type="text/css" rel="stylesheet" href="${ctxPath!}/static/WebDesktop/css/css.css" />
</head>
<body id="lxcn">
    <div class="bgloader"></div>
    <div id="task-bar"><ul class="task-window"></ul></div>
    <div id="desk"><ul></ul></div>
    <div id="menubar">
        <span class="mtop"></span>
        <ul>
        @for(item in pmenuList!){
        <li class="i selected" title="${item.name!}"><a href="${ctxPath!}/index?order=${item.id!}" onclick="bna('${item.id!}',this)"></a></li>
		@}
           <!--  <li class="i selected" title="作者信息"><a href="${ctxPath!}/static/WebDesktop/index.html?menu=1"></a></li>
            <li class="b" title="博客版本"><a href="${ctxPath!}/static/WebDesktop/index.html?menu=2"></a></li>
            <li class="z" title="部分作品"><a href="${ctxPath!}/static/WebDesktop/index.html?menu=3"></a></li>
            <li class="m" title="RSS"><a href="http://www.zi-han.net/?feed=rss2"></a></li> -->

        </ul>
        <span class="mbot"><a href="javascript:void(0);">收起</a></span>
    </div>
    <div id="start-menu">
        <ul class="start-menu">
            <li class="menuSelected sm1"><a href="#">显示桌面</a></li>
            <li class="sm2"><a href="#">显示侧边栏</a></li>
            <li class="sm4"><a href="#">加入收藏</a></li>
            <li class="sm5"><a target="_blank" href="http://www.zi-han.net">返回博客主页</a></li>
        </ul>
    </div>
    <span class="startMenuBtn"></span>
    <noscript><div class="noscript-warning">您的浏览器已禁用了Javascript脚本，请开启Javascript功能之后继续访问！！</div></noscript>
    <script type="text/javascript" src="${ctxPath!}/static/WebDesktop/js/jquery-1.6.2.min.js"></script>
    <script type="text/javascript" src="${ctxPath!}/static/WebDesktop/js/jquery.tool.js"></script>
    <script type="text/javascript" id="shopcut">
    var shortcut = [
                    @for(menu in menuList!){
                   	 @if(menuLP.last){
                   		[${menuLP.index},"${menu.name}","${menu.icon!}","${menu.url}",1024,500]
                   	 @}else{ 
                   	 [${menuLP.index},"${menu.name}","${menu.icon!}","${menu.url}",1024,500],
                   	 @}			
                   @}
                   ];
    </script>
    <script type="text/javascript">
   
    function bna(type,obj) {
		var lodingHtml = '<div class="tac"><img width="100" height="108" alt="" src="${ctxPath!}/static/loading.gif"></div>' , _timer = null;;
	// 	$(obj).parent().addClass('am-active').siblings().removeClass('am-active');
		$.ajax({
			url :"${ctxPath!}/ajax-bna",
			data : {
				"order" : type
			},
			type : 'post',
			dataType : 'text',
			beforeSend:function(){
				clearTimeout(_timer);
				
			},
			success : function(result) { 
				$("#shopcut").html(result);
				//window.location.href = "${ctxPath!}/index";
			}
		});
		// document.write( "<scri"+"pt type=text/javascript src=${ctxPath!}/static/WebDesktop/js/core_1.js>"+"</scr"+"ipt>" );
		// document.write( "<scri"+"pt  type=text/javascript src=${ctxPath!}/static/WebDesktop/js/templates.js>"+"</scr"+"ipt>");
		 //window.location.href = "${ctxPath!}/index";
	}
   
        function  GetQueryString(name){
            var reg=new   RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
            var r=window.location.search.substr(1).match(reg);
            if(r!=null) return unescape(r[2]);return null;
        }
       // if (GetQueryString("menu")==null){
       //    document.write( "<scri"+"pt type=text/javascript src=${ctxPath!}/static/WebDesktop/js/shortcut1.js>"+"</scr"+"ipt>" );
      //  }
      //  else{
     //       document.write( "<scri"+"pt type=text/javascript src=${ctxPath!}/static/WebDesktop/js/shortcut"+GetQueryString("menu")+".js>"+"</scr"+"ipt>" );
     //   }

      
        document.write( "<scri"+"pt type=text/javascript src=${ctxPath!}/static/WebDesktop/js/core.js>"+"</scr"+"ipt>" );



    </script>
    <script type="text/javascript" src="${ctxPath!}/static/WebDesktop/js/templates.js"></script>
    <script type="text/javascript" src="${ctxPath!}/static/WebDesktop/js/jquery-smartMenu.js"></script>
    <!--[if lte IE 6]>
       <div id="ie6-warning">您正在使用 Internet Explorer 6，在本页面的显示效果可能有差异。建议您升级到 <a href="http://www.microsoft.com/china/windows/internet-explorer/" target="_blank">Internet Explorer 8</a> 或以下浏览器： <a href="http://ie.sogou.com/">搜狗</a> | <a href="http://www.google.com/chrome/?hl=zh-CN">Chrome</a> | <a href="http://chrome.360.cn/">360</a> | <a href="http://firefox.com.cn/">火狐</a></div>
       <script type="text/javascript" src="js/forie6.js"></script>
     <![endif]-->
    <!-- Baidu Button BEGIN -->
    <div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare">
        <a class="bds_tsina"></a>
        <a class="bds_tqq"></a>
        <a class="bds_qzone"></a>
        <a class="bds_douban"></a>
        <span class="bds_more"></span>
    </div>
    <script type="text/javascript" id="bdshare_js" data="type=tools&amp;mini=1" ></script>
    <script type="text/javascript" id="bdshell_js"></script>
    <script type="text/javascript">
        document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?t=" + new Date().getHours();
    </script>
    <!-- Baidu Button END -->
<script type="text/javascript" src="http://tajs.qq.com/stats?sId=951449465" charset="UTF-8"></script>
</body>
</html>
